<!DOCTYPE html>
<html lang="zh-CN" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script type="text/javascript" src="/static/js/jquery-3.3.1.min.js"></script>
</head>
<body>
    登录页面
    <h3 th:text="${msg}" style="color: red"></h3>
    <form method="post" action="/login">
        用户名:<input type="text" name="userName"> <br/>
        密码: <input type="text" name="password"> <br/>
        <input type="submit" value="登录">
    </form>
</body>
</html>
<script>
    $(function () {

    })
</script>